<?php

namespace App\Models\Order;

use Illuminate\Database\Eloquent\Model;

class Returnordersubsub extends Model
{
    protected $table = 'return_order_sub_sub';
    public $timestamps = false;
    protected $primaryKey = 'id';
    protected $guarded = ['_token'];

    public function getSuborderAttribute($value)
    {
        return $value ? json_decode($value, true) : [];
    }
}
